package com.small.nine.wxmp.domain.bean.wx.template;

import com.fasterxml.jackson.annotation.JsonAlias;
import lombok.Data;

import java.io.Serializable;

/**
 * 微信公众号设置所属行业
 *
 * @author sheng_zs@126.com
 * @date 2021-08-13 10:23
 */
@Data
public class WxTemplateIndustryBean implements Serializable {
    private static final long serialVersionUID = -1277224438711154747L;

    /**
     * 公众号模板消息所属行业编号：主行业
     */
    @JsonAlias("primary_industry")
    private Industry primaryIndustry;

    /**
     * 公众号模板消息所属行业编号
     */
    @JsonAlias("secondary_industry")
    private Industry secondaryIndustry;

    /**
     * 微信公众号行业信息
     */
    @Data
    static class Industry implements Serializable {
        private static final long serialVersionUID = -3974402817176452594L;

        /**
         * 主行业
         */
        @JsonAlias("first_class")
        private String firstClass;

        /**
         * 副行业
         */
        @JsonAlias("second_class")
        private String secondClass;
    }
}
